package com.itheima.pojo;


import lombok.Data;

@Data
public class Book {

    private Integer id;

    private String name;

    private String type;

    private Integer price;

    public Book() {
    }

    public Book(Integer id, String name, String type, Integer price) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.price = price;
    }
}
